import request from '@/config/axios'

// 分页
export const enterpriseOrgPage = async (params) => {
  return await request.get({ url: '/system/org/page', params })
}

// 更新
export const enterpriseOrgUpdate = async (data) => {
  return await request.put({ url: '/system/org/update', data })
}

// 更新
export const enterpriseOrgGet = async (id) => {
  return await request.get({ url: '/system/org/get?id=' + id })
}
